#ifndef WORLD_H
#define WORLD_H 1


void World_SetTile(int X, int Y, int iLayer, int Tile);
int World_GetTile( int X, int Y, int iLayer);

/* Input/Output */
void World_Save( int Index);
void World_SaveFile(char *sFile);
void World_Load(int Index);
void World_LoadFile( char *sFile);

extern int World_Width;
extern int World_Height;
extern int World_Layer;
extern int World_Locked;

typedef struct{
    int Tile;
    int Collision;
}sWorld;

#endif // WORLD_H
